//默认分页样式
export const pagination = {
    current: 1, //当前页码
    total: 0, // 总条数
    pageSize: 10, //每页中显示10条数据
    showTotal: total => `共${total} 条数据`, //分页中显示总的数据
    showSizeChanger: true,
}


//会员等级
export const roomTypeTable = [

    {
        title: '房型图',
        align: "left",
        dataIndex: 'picture',
        width: 110,
        scopedSlots: {
            customRender: 'picture'
        }
    },


    {
        title: '房型名称',
        align: "left",
        dataIndex: 'name',
        width: 150,
    },


    {
        title: '市场价',
        width: 80,
        align: "center",
        dataIndex: 'marketPrice',

    },

    {
        title: '促销价',
        width: 80,
        align: "center",
        dataIndex: 'salePrice',
    },

    {
        title: '床型',
        width: 100,
        ellipsis: true,

        dataIndex: 'bedType',
    },


    {
        title: '面积',
        width: 100,
        ellipsis: true,
        dataIndex: 'area',
    },


    {
        title: '可住人数',
        dataIndex: 'capacity',
        width: 100,
        ellipsis: true,
    },

    {
        title: '窗户',
        dataIndex: 'window',
        width: 100,
        ellipsis: true,
    },


    {
        title: '网络',
        dataIndex: 'network',
        width: 100,
        ellipsis: true,
    },


    {
        title: '早餐',
        dataIndex: 'breakfast',
        width: 100,
        ellipsis: true,
    },


    {
        title: '楼层',
        dataIndex: 'floor',
        width: 100,
        ellipsis: true,
    },

    {
        title: '卫浴',
        dataIndex: 'bathroom',
        width: 100,
        ellipsis: true,
    },


    {
        title: '电话',
        dataIndex: 'telephone',
        width: 100,
        ellipsis: true,
    },


    {
        title: '操作',
        dataIndex: 'operation',
        fixed: 'right',
        width: 120,
        scopedSlots: {
            customRender: 'operation'
        }
    }
];


//酒店档案
export const profileTable = [

    {
        title: '酒店名称',
        align: "left",
        dataIndex: 'name',
        width: 250,
    },


    {
        title: '订房电话',
        align: "left",
        dataIndex: 'telNumber',
        width: 250,
    },

    {
        title: '详细地址',
        align: "left",
        dataIndex: 'address',

    },


    {
        title: '经度',
        align: "left",
        dataIndex: 'lng',
        width: 120,
    },
    {
        title: '纬度',
        align: "left",
        dataIndex: 'lat',
        width: 120,
    },


    {
        title: '操作',
        dataIndex: 'operation',
        width: 200,
        scopedSlots: {
            customRender: 'operation'
        }
    }
];
